package com.fick.hibernate.model;

import java.util.Date;
import java.util.Set;

/**
 * Channel entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Channel implements java.io.Serializable {

	// Fields

	private Integer channelId;
	private Channel channel;
	private String name;
	private Integer fatherId;
	private int showOrder;
	private Date addDate;
	private String url;
	private String isShow;
	private String img;
	private String pwd;
	private String chdescribe;
	private Set adminqxs;
	private Set news;
	private Set vods;

	// Constructors

	/** default constructor */
	public Channel() {
	}

	/** full constructor */
	public Channel(Channel channel, String name, Integer fatherId, int showOrder, Date addDate, String url, String isShow) {
		this.channel = channel;
		this.name = name;
		this.fatherId = fatherId;
		this.showOrder = showOrder;
		this.addDate = addDate;
		this.url = url;
		this.isShow = isShow;
	}

	/** minimal constructor */
	public Channel(String name) {
		this.name = name;
	}

	// Property accessors

	public Date getAddDate() {
		return this.addDate;
	}

	public Set getAdminqxs() {
		return adminqxs;
	}

	public Channel getChannel() {
		return this.channel;
	}

	public Integer getChannelId() {
		return this.channelId;
	}

	public String getChdescribe() {
		return chdescribe;
	}

	public Integer getFatherId() {
		return this.fatherId;
	}

	public String getImg() {
		return img;
	}

	public String getIsShow() {
		return this.isShow;
	}

	public String getName() {
		return this.name;
	}

	public Set getNews() {
		return news;
	}

	public String getPwd() {
		return pwd;
	}

	public int getShowOrder() {
		return this.showOrder;
	}

	public String getUrl() {
		return this.url;
	}

	public Set getVods() {
		return vods;
	}

	public void setAddDate(Date addDate) {
		this.addDate = addDate;
	}

	public void setAdminqxs(Set adminqxs) {
		this.adminqxs = adminqxs;
	}

	public void setChannel(Channel channel) {
		this.channel = channel;
	}

	public void setChannelId(Integer channelId) {
		this.channelId = channelId;
	}

	public void setChdescribe(String chdescribe) {
		this.chdescribe = chdescribe;
	}

	public void setFatherId(Integer fatherId) {
		this.fatherId = fatherId;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public void setIsShow(String isShow) {
		this.isShow = isShow;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setNews(Set news) {
		this.news = news;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public void setShowOrder(int showOrder) {
		this.showOrder = showOrder;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public void setVods(Set vods) {
		this.vods = vods;
	}

}